<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>学会查文档</title>
    <script src="./js/echarts.min.js"></script>
</head>
<body>
    <div id="app" style="width:800px;height:600px;border:1px solid #999"></div>
    <script>
        var myechart = echarts.init(document.getElementById("app"))
        var option = {
            title:{
                text:"第一个文档",
                left:"center",
                top:30,
                subtext:'中国好chart',
                textStyle:{fontSize:28}
            },
            tooltip:{triger:"item"},
            legend:{
                data:["js"],
                left:'right'
            },
            xAxis:{
                data:["一期","二期","三阶段"]
            },
            yAxis:{},
            series:[
                {name:'js',type:'bar',data:[65,80,70]}
            ]
        }
        myechart.setOption(option);
    </script>
</body>
</html>